const { auth } = require("../middleware/auth.middleware");

const Router = require("koa-router");
const {
    upload,
} = require("../controller/other.controller");
const router = new Router({ prefix: "/other" });
// 商品图片上传接口
router.post("/upload", auth, upload);


module.exports = router;
